package com.yhd.flyweight;

import org.junit.Test;

/**
 * @author yhd
 * @email yinhuidong1@xiaomi.com
 * @description TODO
 * @since 2021/5/21 下午6:41
 */
public class MainTest {

    @Test
    public void test() {
        XiYu xiYu = new YuHuaYuan();

        xiYu.tuiyou("程程");

        xiYu.tuiyou("萌萌");

        xiYu.done("程程");

        xiYu.tuiyou("程程");
    }
}
